import mongoose from "../index";
const xcxGoodsTypeSchema = new mongoose.Schema(
    {
        isDelete: { type: Boolean, required: true, select: false, default: false },
        // 商品类型
        name: { type: String, required: true, unique: true, },
    },
    {
        versionKey: false,
        timestamps: true,
    }
)
const xcxGoodsTypeModel = mongoose.model('xcxGoodsType', xcxGoodsTypeSchema)

export default xcxGoodsTypeModel